home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / DesktopAnimation.idl < prev    next >
Encoding:
Text File  |  1996-05-01  |  3.6 KB  |  118 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        DesktopAnimation.idl
  3.  
  4.      Contains:    Desktop Animation Interfaces.
  5.  
  6.      Version:    Technology:    System 8
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __DESKTOPANIMATION_IDL__
  19. #define __DESKTOPANIMATION_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __APPEARANCE_IDL__
  25. #include <Appearance.idl>
  26. #endif
  27. #ifndef __CODEFRAGMENTS_IDL__
  28. #include <CodeFragments.idl>
  29. #endif
  30. #ifndef __COLLECTIONS_IDL__
  31. #include <Collections.idl>
  32. #endif
  33. #ifndef __DIALOGS_IDL__
  34. #include <Dialogs.idl>
  35. #endif
  36. #ifndef __DISPLAYS_IDL__
  37. #include <Displays.idl>
  38. #endif
  39. #ifndef __FILEMANAGERTYPES_IDL__
  40. #include <FileManagerTypes.idl>
  41. #endif
  42. #ifndef __GXTYPES_IDL__
  43. #include <GXTypes.idl>
  44. #endif
  45. #ifndef __QDOFFSCREEN_IDL__
  46. #include <QDOffscreen.idl>
  47. #endif
  48. #ifndef __TEXTOBJECTS_IDL__
  49. #include <TextObjects.idl>
  50. #endif
  51. #ifndef __TYPES_IDL__
  52. #include <Types.idl>
  53. #endif
  54.  
  55. #ifdef __SOMIDL__
  56.  
  57. #if FOR_SYSTEM8_COOPERATIVE
  58. /* Gestalt selectors to tell if DAM is installed #### Move to Gestalt.i later */
  59. /* Desktop Animation module file resources */
  60. /* Properties relating to the DesktopAnimPanel */
  61. /* Desktop Animation info values */
  62. /* DesktopAnimFlags */
  63. typedef UInt32                    DesktopAnimFlags;
  64.  
  65. /* Pre-defined Desktop Animation property tags */
  66. /* Error codes (will be moved to Error.i when we have an assigned range) */
  67. /* Desktop Pattern Support */
  68. /* Reasons Screen Saver wants to unfade */
  69. typedef SInt32                    ScreenSaverUnfadeType;
  70.  
  71. /* The drawing surfaces record */
  72. typedef SOMLargeStruct            DesktopAnimGraphicsPorts;    /* Derived from a struct of 8 bytes in size */
  73.  
  74. /* Offscreen drawing record */
  75. typedef SOMLargeStruct            DesktopAnimOffscreenGraphicsPorts; /* Derived from a struct of 16 bytes in size */
  76.  
  77. /* Info record for modules when created/opened */
  78. typedef SOMLargeStruct            DesktopAnimModuleInfo;        /* Derived from a struct of 12 bytes in size */
  79.  
  80. /* Info record for Desktop Animation list resource (kDesktopAnimListRsrcType) */
  81. typedef SOMLargeStruct            DesktopAnimModuleListInfo;    /* Derived from a struct of 148 bytes in size */
  82.  
  83. /* The Desktop Animation list resource (kDesktopAnimListRsrcType) */
  84. typedef SOMLargeStruct            DesktopAnimModuleListRsrcRec; /* Derived from a struct of 220 bytes in size */
  85.  
  86. typedef OpaquePtr                DesktopAnimModuleListRsrcPtr; /* Substituted OpaquePtr for “DesktopAnimModuleListRsrcRec*” */
  87.  
  88. typedef OpaquePtr                DesktopAnimModuleListRsrcHandle; /* Substituted OpaquePtr for “DesktopAnimModuleListRsrcPtr*” */
  89.  
  90. /* Desktop Pattern Record */
  91. typedef SOMLargeStruct            DesktopPattern;                /* Derived from a struct of 6 bytes in size */
  92.  
  93. /* Desktop Pattern List resource (kDesktopPatternListRsrcType) */
  94. typedef SOMLargeStruct            DesktopPatternListRsrcRec;    /* Derived from a struct of 10 bytes in size */
  95.  
  96. typedef OpaquePtr                DesktopPatternListRsrcPtr;    /* Substituted OpaquePtr for “DesktopPatternListRsrcRec*” */
  97.  
  98. typedef OpaquePtr                DesktopPatternListRsrcHandle; /* Substituted OpaquePtr for “DesktopPatternListRsrcPtr*” */
  99.  
  100. #endif
  101. #if FOR_SYSTEM8_PREEMPTIVE
  102. /* Desktop Animation Module type */
  103. typedef SInt16                    DesktopAnimItemType;
  104.  
  105. /* Desktop Animation status */
  106. typedef UInt32                    DesktopAnimationStatusType;
  107.  
  108. /* Module description reference */
  109. typedef OpaquePtr                DesktopAnimModuleDescRef;
  110.  
  111. /* Desktop Animation Manager API */
  112. #endif
  113.  
  114. #endif /* __SOMIDL__ */
  115.  
  116. #endif /* __DESKTOPANIMATION_IDL__ */
  117.  
  118.